package com.gougou.manager.web.controller;

import com.gougou.manager.pojo.TbOrderShipping;
import com.gougou.manager.service.MPTbOrderShippingService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author ${author}
 * @since 2018-09-07
 */
@RestController
@RequestMapping("/orders")
public class TbOrderShippingController {

    @Autowired
    private MPTbOrderShippingService orderShippingService;

    @RequestMapping("/select/{id}")
    public TbOrderShipping selectByid(@PathVariable String id){
        TbOrderShipping tbOrderShipping = orderShippingService.selectById(id);
        return tbOrderShipping;
    }

}

